/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.calendar;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import lombok.Data;

/**
 *
 * @author Daniel Garcia
 */
@Data
@MappedSuperclass
public class EventosRepetiveis {
    @Column(nullable = false)
    @Temporal(TemporalType.TIMESTAMP)
    private Date dataInicio;
    @Column(nullable = false)
    @Temporal(TemporalType.TIMESTAMP)
    private Date dataFinal;
}
